/**
 *  * Bestpay.com.cn Inc.
 *  * Copyright (c) 2011-2017 All Rights Reserved.
 *  
 */
package Test;

import org.apache.commons.lang3.StringUtils;

/**
  * 测试循环中自定义一个诡异的东西
  * @author yedengfeng
  * @version Id: Testloop.java, v 0.1 2017/5/2 9:54 yedengfeng Exp $$
  */
public class Testloop implements Testcase {
    @Override
    public void runTest() {

        String[] test1 = {"1", "2", "3"};
        String includeNode = null;
        while (true) {
            do {
                String fileName;
                label24:
                do {
                    while (test1.length > 0) {
                        if ("2".equalsIgnoreCase(test1[1])) {
                            fileName = "hhh";
                            continue label24;
                        }
                        System.out.println("do something 1");
                    }

                    return;
                } while (StringUtils.isBlank(fileName));
                includeNode = fileName;
                System.out.println("do something 2");
            } while (includeNode != null);

        }
    }
}